package bom.dao.organization;


import bom.dao.GenericDao;
import bom.pojo.organization.User;
import bom.pojo.organization.UserAssociateRole;
import bom.pojo.query.QueryUserAssociateRole;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: Fancyears·Maylos·Malvis
 * @Description:
 * @Date: Created in  2018/11/27 15:10
 * @Modified By:
 */
@Mapper
public interface UserAssociateRoleDao extends GenericDao<UserAssociateRole, QueryUserAssociateRole> {
    /**
     * 功能描述：根据用户的ID来删除用户的权限数据
     *
     * @param user
     * @return
     */
    int removeUserRole(User user);
}